<!DOCTYPE html>
<html lang="en">
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <title>DEMO</title>
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"
          rel="stylesheet"/>

    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
    </script>
    <script>
        $(document).ready(function () {

            $("#btn1").click(function () {
                $.post("http://192.168.189.165/kafka/track",
                    {
                        user_id: "trump",
                        act_time: "2020-10-01 10:10:00",
                        action: "click",
                        job_code: "8888888"

                    });
            });
            $("#btn2").click(function () {
                $.post("http://192.168.189.165/kafka/track",
                    {
                        user_id: "trump",
                        act_time: "2020-10-01 10:10:00",
                        action: "job_collect",
                        job_code: "8888888"

                    });
            });
            $("#btn3").click(function () {
                $.post("http://192.168.189.165/kafka/track",
                    {
                        user_id: "trump",
                        act_time: "2020-10-01 10:10:00",
                        action: "cv_send",
                        job_code: "8888888"

                    });
            });
            $("#btn4").click(function () {
                $.post("http://192.168.189.165/kafka/track",
                    {
                        user_id: "trump",
                        act_time: "2020-10-01 10:10:00",
                        action: "cv_upload",
                        job_code: "8888888"

                    });
            });
        });
    </script>

</head>

<body>
<div class="container">
    <div class="col-sm-12">
        <h1>操作页面</h1>
        <div aria-label="..." class="btn-group btn-group-justified" role="group">
            <div class="btn-group" role="group">
                <button class="btn btn-default" id="btn1" type="button">点击</button>
            </div>
            <div class="btn-group" role="group">
                <button class="btn btn-default" id="btn2" type="button">收藏</button>
            </div>
            <div class="btn-group" role="group">
                <button class="btn btn-default" id="btn3" type="button">投简历</button>
            </div>
            <div class="btn-group" role="group">
                <button class="btn btn-default" id="btn4" type="button">上传简历</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>